/**
 * Created by Administrator on 2016/4/24 0024.
 */
package helloworld;
class student{
    private String name;
    private int ID;
    private int age;
    String getName() {
        return name;
    }
    void setName(String name) {
        this.name = name;
    }
    int getID() {
        return ID;
    }
    void setID(int iD) {
        ID = iD;
    }
    int getAge() {
        return age;
    }
    void setAge(int age) {
        this.age = age;
    }

}
public class helloworld {
    public static void main(String[] args)
    {
        student s =new student();
        s.setName("冯佳");
        s.setID(20145236);
        s.setAge(20);
        System.out.printf("姓名：%s  学号 ：%d  年龄 ： %d",s.getName(),s.getID(),s.getAge());
    }

}
